<!DOCTYPE html>

<html>

<head>
    <title>WebRTC一对一通话</title>
</head>

<body>
    <h1>WebRTC一对一通话</h1>
    <div id="buttonsDiv">
        <input id="roomIdInput" type="text" placeholder="请输入房间ID">
        <button id="joinBtn">加入房间</button>
        <button id="leaveBtn">离开房间</button>
    </div>
    <div id="localVideosDiv">
        <video id="localVideo" autoplay muted playsinline>本地窗口</video>
    </div>
    <div id="remoteVideoDiv">
        <video id="remoteVideo" autoplay playsinline>远端窗口</video>
    </div>
</body>

<script src="js/main.js"></script>
<script> src = "js/adapter-latest.js" </script>

</html>